package behavioral.pattern.observer.subject;

import behavioral.pattern.observer.message.Message;
import behavioral.pattern.observer.observers.Observer;

/**
 * @Autor: yuanyongan
 * @Description:
 * @Date 2023/1/9 15:49
 */
public interface Subject {
    void registerObserver(Observer observer);
    void removeObserver(Observer observer);
    void notifyObservers(Message message);
}
